external bucket clustering in parallel