Fix centroid.