refactor solve_for_one_box