multithread crossvalidation