An entry to the synthesis of novel nitrogen macroheterocycles