McLachlan: use other_timelevels for constraints
This is not to be merged since it does not contain the auto-generated code.
This is not to be merged since it does not contain the auto-generated code.