Fix for stack size in main function