extract cfi tree