Downsize overlength headings
Remove empty headings before nesting