enforce continuity in simulation