Kmeans compiles