private void countEarliest() {
        for (Statement s: expectedIn.keySet()) {
            earliest.put(s, new LinkedList<Statement>());
            if(availibleIn.get(s) == null) {
                for (Statement e : expectedIn.get(s))
                    earliest.get(s).add(e);
            } else if(availibleIn.get(s).isEmpty()) {
                for (Statement e : expectedIn.get(s))
                    earliest.get(s).add(e);
            } else {
                for (Statement e: expectedIn.get(s)) {
                    boolean add = true;
                    for (Statement a: availibleIn.get(s))
                        if (compareExpressions(a, e))
                            add = false;
                    if (add)
                        earliest.get(s).add(e);
                }
            }
        }
    }