Measurement of the shortest path length; distance estimation within the 3D borders of a tissue of interest