geo_utils, clustering algorithm