Find shortest way between path