Fixed a flaw in logic of kMeans INT.