corrected structure generators including trees