replace align2() with myalign() for better performance
use sign()
modify coding for better parallelization
remove 'GM(GM<0)=0'
display a line when a generation finishes