Contains the SMP version of merging