private int computeLocalSize() {
		int size = (allocator.getRegNumber() + 2) * 4; // useless, just to make
														// code logic simple
		int maxReg = 0;
		for (int reg : regMap.values()) {
			if (maxReg < reg) {
				maxReg = reg;
			}
		}
		if (maxReg > allocator.getRegNumber() + 2) {
			size = maxReg * 4;
		}
		for (Variable var : root.getLocalVarTable()) {
			if (var.isArray()) {
				size += var.computeSize();
			}
		}
		return size;
	}