improves resolution issues in PDF render and releases iter_prepostorder function