Text this: Average optical path length estimation in a slab of arbitrary finite thickness