BitStateCount
int bits[BitStateCount] = {0};
if (c < 0 || c >= BitStateCount)
static char state_machine[BitStateCount][BitmapActionCount] = {
if (c < 0 || c >= BitStateCount) {