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