In place merge