public int getNumberExcess(Organism organism2) {
        int E = 0;
        int maxNumberShortGenome;
        if (organism2.getLastGeneInovNumber() > this.getLastGeneInovNumber()) { //this - short genome
            maxNumberShortGenome = this.getGenome().lastGeneInovNumber();
            for (int i = 0; i < organism2.getGenomeSize(); i++) {
                if (organism2.getGenome().getGenes().get(i).getInnovation_num() > maxNumberShortGenome) {
                    E++;
                }
            }
        }
        if (organism2.getLastGeneInovNumber() < this.getLastGeneInovNumber()) { //organism2 - short genome
            maxNumberShortGenome = organism2.getGenome().lastGeneInovNumber();
            for (int i = 0; i < this.getGenomeSize(); i++) {
                if (this.getGenome().getGenes().get(i).getInnovation_num() > maxNumberShortGenome) {
                    E++;
                }
            }
        }
        //if == -> E=0
        return (E);
    }