Added min cluster size and max distance for centroids.