prepare for memory footprint reduction