mrgd the relevant files from checkzcomprss branch
also lau from check-z-comp
unit tests pass