Added numThreads >= 1 check.