Implement an algorithm for path length calculation on a volume sample
Implement an algorithm for path length calculation on a volume sample