optimized resampler utils with Noble identity.