curAlign never used