reduce task memory footprint by making name and state smaller