fix l1 implementation to ensure greater sparsity