split fmfrecord code