need to have "twig_roots" to save some memory.