Structural optimization of thin elastic plates: the three dimensional approach