Small optimization to expedite sudoku solving.