improved solve_plane_chan() (Evgeny Kotsuba)