Harden p1 and c1 against numericla errors