bitstream_tell
Added assertions about part of the code which should not write to bitstream