Uniform random generator