Merge "Update segment tree_cdf per frame." into nextgenv2