Evolution of a var gene