Small fix
Make dynamic tree