private int getPositiveSize() {
		if (variables.isEmpty()) {
			return (growsNegative() ? paramStart : 0);
		}
		Variable var = variables.get(variables.size() - 1);
		int stackOffset = var.getStackOffset();
		if (stackOffset < 0) {
			return (growsNegative() ? paramStart : 0);
		}
		return stackOffset + var.getLength();
	}
Get the size of the positive portion of the stack (including 0)

@return the positive portion size
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/oldfunction/OldStackFrameDB.java