Modification of tannin based rigid foams using oligomers of a hyperbranched poly(amine-ester).