Cache all roots in instance variable