loop=0; while (((countmax_N))&(loop