further memory footprint reduction