Calling `FromScript` with a script with 2000 consecutive `OP_CHECKSIGVERIFY` opcodes causes execution to halt due to running out of stack space. The root cause is the unbounded recursion in `Decode`, `DecodeMulti`, `DecodeSingle` and `DecodeWrapped`.