removing unused cells