finalized pdmp parallelization