Build the complete model