find best criterium for polynom