adding DistanceToPointSet