Version 19 -- intermediate version with dfs speed-ups.