implement parsing of RangeInt