let slevel = 
    if obviously_terminates
    then max_int
    else
      AnalysisParam.slevel