Changed pop/push stack to manage multiple sizes

Renamed them to allocate/deallocate since they’re always used for this
reason.