ENH: resetting repo to smaller size