added Range.getInterval()