preliminary kernel resampling