Using your own Random instance in the product code will make this unnecessary.