nb_threads 0 works