Merge "Adjust adaptive_rd_thresh speed feature" into nextgenv2