car finding centroids