kmeans revisions