BFS decompose
work on experimental decompositions
minor changes