Modify function "getLimitsInRange" to avoid impact by vertical diffraction
Verify precise of result limit in 1e-6