fixup! Bugfix: fixed interpretation of timesteps in assertion and code; timesteps should be 1-based, not 0-based