A random number generator that scales timewise with log(n,2)