[Wekalist] Tertius algorithm