adjust main algorithm to composite vertex value
adjust input format to composite value
kmeans output format