Changing a shape by remelting