compression locations generalized
make hexify more robust
more general compressed data reading