add r/w range for rwrandom