Rebuild of truncated files + some memory lost