removing unused portions (compiler)