SMS dit: Optimal design of flexible manufacturing systems