kamila clustering algorithm