Small bitstream optimizations
Moved readFieldId in its own function
more performance testing