general improvement to calculation accuracy in certain situations