Remove unused input
Encapsulate drawing of active and structural units
Simplify equation for draw scaling