Update MergeIntervals.cc