Fixed inter-block synchronization.

Imposed a limit on the number of humans to simulate.