encode some annotations in a bitset for #373
decode bitset annotations #373