Cram compression library/algorithm