Turned partitioner loop into a parallel job