Added dependency graph reduction