Fun fact: they intentionally cast someone tall as Gimli. Then when they needed to use digital or practical effects to shrink hobbit actors, they could shrink Gimli along with them at exactly the same scale. This resulted in short hobbits, a dwarf who's short but still notably taller than hobbits, and then humans at elves at "regular" height.