bootstrap for perturb_params