impl. of shortest path strategy based on buses