lots of improvements for polyseq