Removing redundant dirs