not yet working on expansion of infinite trees