Optimize by only stripping from right-hand-side