Improve performance, squash a bug.

  * Further vectorize rdp/rsp.
  * Fix a bug in PI reads.