Thermostatting on both sides

Thank you for your advices. The distribution of temperature is very noisy after 3 millinion steps with NVE thermostatting. I will add NVE fix on liquid part and try again to see the result.