Good point, the depth first search algorithm is a bit lack luster for this case:
1 -> .1
2 -> .01
3 -> .001
4 -> .0001
5 -> .00001
6 -> .000001
. -> .0∞1
I would definitely recommend not judging the quality of the video based upon the quality of my reasoning in the experiment.