PathFind from multiple location, common algoritn