Merge optimizations