reduce scan file size