make RangeRand assignable.