added errBits bitmask quality flags