Square $S_1$ is $1 \times 1$. For $i \geq 1$, the lengths of the sides of square $S_{i+1}$ are half the lengths of the sides of square $S_i$; two adjacent sides of square $S_i$ are perpendicular bisectors of two adjacent sides of square $S_{i+1}$, and the other two sides of square $S_{i+1}$ are the perpendicular bisectors of two adjacent sides of square $S_{i+2}$. The total area enclosed by at least one of $S_1,S_2,S_3,S_4,S_5$ can be written in the form $\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m-n$.
