Update treatment of RNG in parallel code