Revert "DFS"

This reverts commit 37c684224d9e7450eef31d800a8d14ba033fe71a.