Tree input finished