E8 lattice and the Kodaira dimension of orthogonal modular varieties