Each face of a cube is given a single narrow stripe painted from the center of one edge to the center of the opposite edge. The choice of the edge pairing is made at random and independently for each face. What is the probability that there is a continuous stripe encircling the cube? Provide your answer as a simplified fraction in the form \frac{k}{m}, and find the value of k + m.

Let's think step by step and output the final answer within \boxed{}.
user