mergeIntervals done