assembly generation stage