Added another optimization to cb_align_ungapped