add extract centroids