The thread local storage variables for the random number generator were replaced by an external context variable. Thread local storage is a scarce resource.