[#81] Add path calculation