Optimize memory usage by hacking some bits in sparsehash