Implement initForRange.