Copying kills performance. Please find a way to not copy the node object and work with the const object as long as possible.