Restructured code and dynamically add towers