moved to centroid, distances calculated