finished first pass through local control algo