Completed merge with shallow-nesting