merge: Add vertical merge support.