Adds a node-merging function! It can merge nodes successfully.