Fixed issue where bitfields were always recorded as length 2