Molecular dynamics calculation of the J-integral fracture criterion for nano-sized crystals