Clustering cost improved