Added a tolerance on the global goal