The elves gathered huge piles of rot to grow fungus. Out of imitation or forethought, the thallids did the same.