use a real stack instead of a 5 element array
Authored by: jost2345 2005-04-14
Parent: [r186]
Child: [r188]