shortest path does not work for Log semiring -tmp save