A small box of mass m is placed on the outer surface of a smooth fixed sphere of radius R at a point where the radius makes an angle ϕ with the vertical. The box is released from this position. Find the distance travelled by the box before it leaves contact with the sphere.