glw: Reduce memory footprint