Rescale centroids to keep dimensions consistent