resampling step
resample fix
resampling