Fixed random number generation