resampling and add distributions