Added merge-intervals