Shape Optimization of Polycrystalline Micro Mechanical Components