Stress localization and strength optimization of frame material with periodic microstructure