index with bit arrays