public bool IsLeaf(int index) { return this.Nodes[index].Child1 == -1 && this.Nodes[index].Child0 == -1; }