Optimal design of variable-stiffness fiber-reinforced composites using cellular automata door