Made buffers static instead of dynamically allocated for each compression/decompression