Modify the scheduler to store the produced schedules in the struct's array
 instead of making a new array at completion