tri number speedup