works with global clusters
works with global clusters
fixed sub kmeans