allFactors->refCount= 1;
allFactors->pairFactors= malloc(traceNb * sizeof(PairFactors*));
factorsArray=allFactors->pairFactors;
allFactors->refCount= 1;
allFactors->pairFactors= malloc(traceNb * sizeof(PairFactors*));
factorsArray=allFactors->pairFactors;