using bags surrounding the moulding material or using membranes contacting the moulding material