Constructing relaxation systems for lattice Boltzmann methods. (March 2023)