Remove RESAMPLER_MAX_DIMENSION limit