parallelized version of walktrap