Add new version of Merge Intervals