Product family formation based on complexity for assembly systems