Optimizing the Design of an Assembly Line