added sub-sampling to kmeans++