Fix rand_I so that it is more even.