Adding centroids