Finite element simulation of multilayer electron beam melting for the improvement of build quality