Changed to Boost.Parameter for DFS as a test but kept old interface; added a lot of helper code to make that easier