Fixed error with square auto-direction numbering, calculated first "complex" triangle auto-direction