Gas expansion problem explanation