do_resampling function

Temporarily suppress new stats generation during resampling