A fundamental limitation of Bitcoin Script is the maximum stack depth of 1000 items. Thus, we want our algorithms to be "shallow", i.e., they should operate over a minimal number of stack items.
For this reason, our tests should print the script's max stack depth along with the script length