currently got the simulate to simulate by stage, (theoretically, it iterates by each stage's tasks in the code) but have not gotten it to simualte with the strict border of waiting for all the tasks to finish yet.