Adding merge intervals