Multi-scale modeling of selective electron beam melting of Ti6Al4V titanium alloy