Took care of numerical noise