K means clustering adopted