N,i;main(long X){gets(&i);for(;~scanf("%d%ld",&N,&X);){N<2*X/N||(X=-1,N=1);for(i=0;--N;X-=i)printf("%d ",++i);printf("%ld\n",X);}}