Now using crude XorShift prng, the same as Go, D and C.