stack became a vector

so we will be able to render all states on the stack