Fixing the foam to the frames