The simulation of dynamic crack propagation using the cohesive segments method