Rebuild of PI