get min hop counts. Initial changes