Use more efficient merging