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