Intergenerational transfers and threshold ages