reduce regression memory footprint