remove parametersMod usage in image cropping