Resampler is now much faster