Take headline field width into account when calculating underline/overline length

For columns of numbers, header fields can easily be longer than any number, yet they are not taken into account at that particular step.