type column compression using zlib adding a mirror function to get key from value 0 & 1 to store booleans