Limit simulation running time.
Faster convolve2d implementation.