Revised compression method

Excess bytes are now distributed amongst the compressed bytes, instead
of being dumped into the final bit as they were before.