When I rewrote this I tried to remove lookup tables.  It would be better if this didn't add new ones.  And 0 is 0, don't use 00, it's confusing.