http://pages.cs.wisc.edu/~vernon/cs367/ … .html#best