effect-tree
    Preparing search index...

    Variable nextTreeWrapConst

    nextTreeWrap: EndoOf<Branch<number>> = ...

    Just like nextTree but when last tree is reached we wrap around to the first tree with the same node count.