Three dimensional automatic refinement method for transient small strain elastoplastic finite element computations