
Either I'm misunderstanding the problem or a length of 8 is possible.
Edit: found my mistake, far left edge has two non-consecutive segments on adjacent corners. Leaving this up in case anyone else tries for a better score.

Either I'm misunderstanding the problem or a length of 8 is possible.
Edit: found my mistake, far left edge has two non-consecutive segments on adjacent corners. Leaving this up in case anyone else tries for a better score.