User-defined stacksize support