measure resets itself to deal with headers of different sizes better