How does the stems of a pine tree adapt to its environment?