Adjust the table size to the header