Stabilization effect of multiple density difference in the lattice hydrodynamic model