Added bit vector encoding for Q1.