Change numWorkers parameter into runtime parameter.