resizeScratchArrays method
Pre-allocates sticky-precompute scratch arrays for capacity nodes.
Useful when the tree size is known upfront to avoid incremental
resizing.
Implementation
void resizeScratchArrays(int capacity) =>
_sticky.resizeScratchArrays(capacity);