Dual pathways of intergenerational influence over multiple generations