Encoding, decoding and compression for Scheme Spheres