Remade genes import and genes calculation.