Ductile-brittle fracture transition due to increasing crack length in a medium carbon steel