added code to grow alignments