kmeans code adjust