Assessing Piketty's second law of capitalism