Constructing a path of near-constant length . Written to support this Stack Overflow answer.
Copyright © 2011 Gavin Kistner. Comments/criticisms welcome.