Configurable stack size (constructor)