CF_MAX_LEVELS
count = CF_MAX_LEVELS;
sc->levels_buf = malloc(CF_MAX_LEVELS * sizeof(*sc->levels_buf),