del unused units
optimization