Need to ensure that the random seed is positive, bad things will happen otherwise.