Moved target search code to TowerUtils.