Precursory reaction of thermal cyclization for polyacrylonitrile