configure parallelism