altos/stm: Allow apps to define different stack size