constructor(node) {
        this.lastOffset = lengthZero;
        this.nextNodes = [node];
        this.offsets = [lengthZero];
        this.idxs = [];
    }
Allows to efficiently find a longest child at a given offset in a fixed node.
The requested offsets must increase monotonously.