adding bits and btree