push newInterval into vector intervals, then call merge() of Interval