Opitimize the region orientation algorithm

1. PolygonOrientation2D is used for opitimize the orientation via
smallest MB