Reduce memory usage even further. (#41)

Encode int ranges (start, end) with bits, rather than as tuples. Shaves about 140KB off the data in memory.
5 files changed