Gas flow optimization during the cooling of multicrystalline silicon ingot