Whoops, got pathDepth wrong