Minimal cost-path for path-based distances - Strand, Robin (Array, 2007)