Added new edge cases for sparser