enforce continuity to get cyclical gait patterns