(still in progress) Recompressing raw data and size detection