add merge intervals