Start from previous commit if you are fucked up. This commit fixed huge portion of the data. NEW ALGORITHM APPLIED. Changed ALL cst->m_cmd[i] to cc.