I suspect there is some clever base between 1 and 2 which is trivial to compute
Something like this perhaps (although this might be too much granularity):
(8 + (cap & 7)) << ((cap >> 3) + 1)
16 18 20 ... 30
32 36 40 ... 60
64 72 80 ... 120
128 ... etc.