How to use our DFS Optimizer