Dynamic Local Remeshing for Elastoplastic Simulation