Tree generation works perfectly