@vyhymibavuropoto You're right, it would be slightly faster in the unlikely event that the path is really long.  I don't think it's worth complicating the code for.