Slightly simplify max_stacksize_recurse()