short circuit when we have found the closest numPoints