stagewise_poly:: be less silly with sort buffer
misc cleanup