Fixed tree inference seems to be working.