> > Maybe you want to iterate over the loops exit edges and include their destination block instead? > This is better approach, let me try it and I will be back to you. Thanks, Claudiu