root.physicalOptimization();
root.deleteParents();
root.setParents();
root.detectCycles();
//MoveFilter to SubgraphContainer rule
final AfterPhysicalOptimizationDistributedRulePackage refie = new AfterPhysicalOptimizationDistributedRulePackage();
refie.applyRules(root);
// evaluate subgraph!
final BindingsFactory bindingsFactory= BindingsFactory.createBindingsFactory(CommonCoreQueryEvaluator.getAllVariablesOfQuery(root));
root.sendMessage(new BindingsFactoryMessage(bindingsFactory));