Split long configurations in sub-sections

Fixes #296