Raise error in align_raw if segment isn't right length.