Progress on initializing tree. Runs but runs incorrectly