Cleaned up code in compressed.c