Add optimizations for binary bitvector operations