Working on IntervalTree impl