#include int main(){long long T,N,X;scanf("%lld",&T);while(T-->0){scanf("%lld %lld",&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);}}