I think you don't have to introduce a sparsity threshold