Fürer's algorithm
en.wikipedia.org