This is going to be slower than the replaced version as it still uses lookups, why not iterate and merge?