parallelized dynamicTree