kmean with scallop