i'd have thought the linker would be in a good position to make a good assessment of the stack requirements.