Polynomials keep track of their degree