Perform profiling in #286 for mode_appt_constraints = 2 too
Perform profiling in #286 for mode_appt_constraints = 2 too