shared: capability - don't loop over the cap bits if they are all unset