Optimized NormalizePatch