If only one processor is used then don't use multiprocessing lib