new light kmeans and knn