remove kmeans dependency.