error in kmeans.
fixed merges