To speed up processing, a caching mechanism should be implemented. See https://ode-toolbox.readthedocs.io/en/latest/index.html#caching-of-results