a first definition of linearity for complete alignments