Implemented a shrinkHashService.