modify kmeantest