A thermodynamic model for simultaneous growth of gas and solid phases from gas saturated melt. (December 2015)