Marking max TOC level configurable, closes #32