kmeans grid add