It has some duplication now, and the header calculation is unnecessary. Plus, it doesn't keep track of the commonality of the extra-header stacks.