slightly improved memory footprint when parsing chunk-wise