Commiting before the mass change of old_solution[j] to old_solution_values[q]