private void ChangeTypeIfNeeded()
{
if (_usingIndexes == false)
return;
uint T = (_curMax >> 5) + 1;
int c = _offsets.Count;
if (c > T && c > 10)
{
// change type to WAH
_usingIndexes = false;
// create bitmap
foreach (var i in _offsets)
Set((int) i, true);
// clear list
_offsets = new List<uint>();
}
}