High compression and lossless optimization