Generalized lattice Boltzmann method with multirange pseudopotential