Range offset operation
Refer to the following example code to see how to offset range.