added distance between points