Modified : streaming API (fast compression)