Improvements to reduce memory footprint with qgenrecon.