http://www-igm.univ-mlv.fr/~lecroq/string/images/smithtab1.png