debugging compression routines