Make stack size computation more robust.