Recursive partial merge.