On the degree of Kodyialam polynomials of a graded ideal in the polynomial ring