int numOfNodesToGenerate = numOfNodes - 1;
nodesOnLevel.add(new ArrayList<Integer>());
nodesOnLevel.get(0).add(0);
tree.turnTreeCheckOff();
while (currentNodeNumber < numOfNodesToGenerate
&& nodesOnLevel.get(nodesOnLevel.size() - 1).size() > 0) {
currentNodeNumber =
createAdditionalTreeLevel(tree, nodesOnLevel, approxNumberOfChildren,