JPEG: improved accuracy