LBG algorithm K-means