extend nmod_polyxx