Added threshold parameter to subgraph iterator
Cosmetics
Added search space pruning option