cap the max repo size