docviewer optimize: shorter doc heights: debug