Clustering iteration