finish Merge Intervals  fix issue #129