When I was working on my thesis I did much of the same thing -- the majority of my "thinking" time was spent walking in a loop around the college gardens, and I would only go inside to type out a few paragraphs once I had composed them mentally.
I got quite annoyed when the college closed the gardens between midnight and 4 AM...