max stack size can now be dynmaically adjusted