When calculating buffer size, don't consume any values for padding.