I think it's OK to use new named nodes as the buffer to transfer the nodes from one to other, but they should be named in an understandable way and well documented.