Switch from a fixed stack to a linked list, since guessing the maximum possible size may fail with invalid/overlapping strips.
Switch from a fixed stack to a linked list, since guessing the maximum possible size may fail with invalid/overlapping strips.