Making a cube from its net