old centroid fixed