Fixed potential crash with zero stack sizes