shrinking the repo