Oh? I cannot see a game cache in the whole script... Of course, that must not mean anything. Being blind is kind of hobby of mine, while looking over code. ^^
postscript:
@PurplePoot: Check out these values: -2147483648 as minimum, 2147483647 as maximum.
... A "stack"'s definition includes, that more than one value can be stored. In fact, it bases on this. To be sure, as long as there are not two or more values stored, the structure is no stack but "has a potential to grow into a stack".