Revert "BFS"

This reverts commit f97ce2b2b19ef476c0270ce4fb129cffbf90cc0b.