Currently, the computation of numbered headings and figures is not cached, which can be costly, for instance, for deep space hierarchy