make the timed fnction correlate to the number of triangles