The evolution of molds in manufacturing: from rigid to flexible