dynamic load balancing -- Preserving locality for optimal parallelism in task allocation