pathlength