Optimization for unsanitized and fix for ARG.