2 4 1 1 -1 -1 -2 -1 4 0 lattice_ideal 1 4 1 2 1 2 grading