Environment::
- improve triangle -> partition detection