Check if simulation finished
Merge