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