effect-tree
    Preparing search index...

    Variable previousTreeWrapConst

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

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