Change the biased random generator