started scaling shift to be in mm, and switched to faster kernel-based
resampling