change frame allocation
Use 1 stack per state, shared amongts frames