getNext() {
        let node = this.stack.pop();
        this.stackFillFn(this.stack, node.right, this.nextStackFillNodeFn);
        return node;
    }