closest point is found