Structure of Subassembly Programs