Parallel clustering, adapted from "swarm".