Automatically do multiprocessing