int Size (int index) { return tree[index].data != null ? tree[index].count : Size(2 * index) + Size(2 * index + 1); }