Adding stress calculations