Minimizing Walking Length in Map Matching