Fixed internal pathmaesure to match separated paths