why is `cap` the maximum uint?