added a dynamic load balancing to the MPI parallelization
merged dynamic load balancing from master