dt_popc
extern ulong_t dt_popc(ulong_t);
popc += dt_popc(bp[w]);
return (popc + dt_popc(bp[maxw] & ((1UL << maxb) - 1)));