More efficient merging.