more kmeans changes