changed nproc to 1 for preclustering