with a cavity increasing in size during foaming