change ranges to arrays in solve_for_one_columns