while (eit2.hasNext() && allGood)
{
EnvelopeEntry e = (EnvelopeEntry) eit2.next();
if (checkOrder(a,e.end))
{
StartInstantAction sa = ((StartInstantAction) a);
EnvelopeEntry ne = new EnvelopeEntry(e.start, sa.getSibling());
ne.maxEnv = sa.parent.getMaxDuration(s).add(e.maxEnv);
ne.minEnv = sa.parent.getMinDuration(s).add(e.minEnv);
ne.constraints.addAll(TemporalConstraint.getBounds(sa, sa.getSibling(), sa.parent.getMaxDuration(s), sa.parent.getMinDuration(s)));
ne.constraints.addAll(e.constraints);
ne.followsStart.addAll(e.followsStart);
Iterator fit = e.followsStart.iterator();
while (fit.hasNext())