Integrated design of topology and material for composite morphing trailing edge based compliant mechanism