optimize Range IReduce implementation