trim memory requirement a bit