Cross-dynastic intergenerational altruism