modified grade in move generation