modified KMeans in initial step