Slightly changed the calcul formula.