More strict check for range end (DP quantization)