Trying to parallelize depth first tree building. RNG is the problem