handled numerical noise.