added distance for point-polygons