We are looking for low memory consumption, why not use LinkedList

Under the assumption that the number of ranges in a SparseBitmap stays relatively small,
we can do with linear-time operations and use a LinkedList instead of a TreeSet for better
memory efficiency and less computational overhead.
We can keep the LinkedList sorted internally, hence TreeSets are not even necessary.
Add aditional unit test where the old code fails.