PRNG more robust against silly params