add a flag controlling whether we tag docs with bytes/offset

only update 'state using size of str representation