Designing a product for smart manufacturing