Simplify stack depth management.