use solve_algo=0 where possible