This check should better be done by the constructor of CountBitsArray. Moreover, you need to have a blocksize of at least 64 for the same reason as in the case of FindPositionArray.