Allow for general transposition table sizes. (#1341)