Moved to multiprocessing for loops.