Structural optimization and material fitting of a material with inherent bistable elements