Stability and Optimization of Structures door