Don't scale until you need to (multiprocessing unnecessary.) Also: error-check compression function.