//orphans should now contain all clusters that need to be adopted:
for(ClusterNode cn : orphans){
if(ClusterUtils.isCyclic(cn)){
throw new RuntimeException("A cyclic orphan was detected.");
}
newTree.addChild(cn);
}
if(ClusterUtils.isCyclic(newTree)){
Logger.getLogger(TreeTranslator.class.getName()).log(Level.WARNING, "Cyclic tree detected!");
throw new RuntimeException("There was a cyclic tree so I stopped.");
}