Which containers to fold so that at most maxBoxes boxes are drawn: the
largest containers first (each folds into one box), never the root, and
never a container that holds one of the keep states (e.g. the active ones)
while there is anything else to fold. Deterministic.
Which containers to fold so that at most
maxBoxesboxes are drawn: the largest containers first (each folds into one box), never the root, and never a container that holds one of thekeepstates (e.g. the active ones) while there is anything else to fold. Deterministic.