I can't understand the meaning of this sentence from Wonderful Wizard of Oz:
Their house was small for the lumber to build it had to be carried by wagon many miles.
I check my vocabulary: Lumber is a derivative of a tree, but the expression above is unclear for me. Particularly this expression: house .. for the lumber to build it had to be carried.