Some optimization of moist thermo