reworked parallel simulation, now the same threads are reused from a pool