improve polynomial printing