for (Iterator<Step> i = involving.iterator(); i.hasNext();) {
Step step = i.next();
List<Publication> exist = step.getAllDocuments();
for (Iterator<Publication> j = exist.iterator(); j.hasNext();) {
Document doc = j.next().value();
for (Iterator<Step> i = involving.iterator(); i.hasNext();) {
Step step = i.next();
List<Publication> exist = step.getAllDocuments();
for (Iterator<Publication> j = exist.iterator(); j.hasNext();) {
Document doc = j.next().value();