An automatic remeshing technique for finite element simulation of forming processes