rng v0.4 for geometric distribution