deflate_compress.c: Reengineer near-optimal parsing algorithm