actually commit k-means changes