rate_from_params
rate = rate_from_params(req->best_parent_rate, sdm, n2);
rate = rate_from_params(parent_rate, sdm, n2);