added distortion limit