I am trying to imagine the cyclization of the Fischer projection of glucose as it forms an $\unicode[Times]{x3B1}$-D-glucofuranose and an $\unicode[Times]{x3B1}$-D-glucopyranose (right now I am trying to understand the Haworth projection, and as my 3D visualization gets better, I will extend to the more thermodynamically stable chair representations of these monosaccharides). Now, if I understand correctly, in the pyranose form, the alcohol on $\mathrm{C5}$ attacks the carbonyl carbon on $\mathrm{C1}$. In the furanose form, the alcohol on $\mathrm{C4}$ attacks the carbonyl carbon on $\mathrm{C1}$. These results in 6-membered and 5-membered rings, respectively.
I understand in nature, these are the most stable rings. However, what thermodynamic incentive does the furanose form have? That is, why would $\mathrm{C4}$'s alcohol attack and form a 5-membered ring at the expense of the $\ce{CH2OH}$ group and the $\ce{OH}$ group being near each other as a side chain on the 5-membered ring? Doesn't this introduce considerable strain? My idea is that the 6-memebered ring is more thermodynamically stable and it doesn't have the problem of a hydroxymethyl and a hydroxyl group on a single carbon of the 5-membered ring.