Stand structure in terrestrial ecosystems