index, rc = search:min_element (&_, array, length, (float x) { 
                                                               return abs (x - level); 
                                                             }),
{
  level = statistics:CS_LEVEL, { statistics = settings->statistics }
};
