Use multi-threads to calculate triangles. Much faster!