collision detection, performance improvements when building tower