permuted OLS: adjust memory pre-allocation + robust sparsity threshold.