Transition to chip serration in simulated cutting of metallic glasses