trianglePartition