Text this: Influence of gases on casting expansion processes during their hardening