Better sparsity pattern detection.