Use a loop to generate the giant ferns rather than lots of if statements.

NB: Technically giant tree ferns are a subcanopy species and not emergent (which with the current truck heights they are in jungles)