Implemented delayed stack operations on StateStack