cur_jobs = tasks_per_worker;
remain_jobs = cur_jobs;
fts_start = fts_cur;
fts_start = fts_cur->next;
nworker ++;
}
ntask ++;