Removing unneeded building blocks