We have to restrict the range of order of a polynomial from 1 to 51. I can see the following post on the same.
Limiting range of value types in C++
Does C++ 1