Draft of genes calculation.