Modified BendingSchedule source file.