#include main(){long T,N,X;scanf("%d",&T);while(T-->0){scanf("%ld %ld",&N,&X);if(N*(N+1)/2>X){puts("-1");continue;}for(int i=1;i<=N-1;++i){printf("%ld ",i);X-=i;}printf("%ld\n",X);}}