pi_pencil-rule