add build_bi_alignment