Rebuild of the library