Optimization of a lattice structure inspired by glass sponge