Fix #6804

floor(2^31-1*runif(1)) was always returning the value 2147483647. It is now floor(runif(1, min=0, max=2^31-1)), which samples 1 number between 0 and 2^31-1.