optimized footnote processing