Evolution of crystallographic texture in thin wires