Dramatically improve the tableaux implementation.