protected TestEntity newEntity() {
int treeId = lastTreeId.incrementAndGet();
Node[] nodes = new Node[GRAPH_SIZE + 1];
for (int nodeIx = 1; nodeIx <= GRAPH_SIZE; nodeIx++)
{
Node node = new Node(treeId * GRAPH_SIZE + nodeIx);
nodes[nodeIx] = node;
int parentIx = nodeIx >> 1;
if (parentIx > 0) {
if ((nodeIx % 2) == 0) {
nodes[parentIx].setChild1(node);