changed min length to avoid increasing file sizes