Record stack size at every that is processed during DFS
Record queue sizes during DFS