Does this not need to track the maximum line width used in the batch, rather than the current line width?