[PATCH 1/2] Add function to add bits from array to bitvec