polynomial or not polynomial