merge: Remove useless allocation/copying from the right part