if (nodesToMerge.get(0) != this.getRootNode()) {
System.err.println("Please do not use merge for one trie, use copy instead!");
this.setRootNode(nodesToMerge.get(0)); // TODO Hier muss kopiert werden, nicht einfach der rootNode uebernommen
}
} else if (nodesToMerge.size() > 1) { // Only merge if there are at least 2 valid root nodes
final Node root = this.createNodeInstance();
this.mergeAfterCheck(root, nodesToMerge);
this.changeRootNode(root);
}