Only define UnclosedSection once.

If you define things in a loop it slows down. Go figure.

    42% speedup.