Start of allocatinon function(nintcf and nextcf are sended), need to implemet allocation of memory