Implement feature to compute the optimum delay for a simulation.