Cap number of key/coins/etc.