Construct the structure.