cleanup centroids