removing unused bricks