removed errant assignemnt in find_shortest index