#include int main(){int 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("%d ",i);X-=i;}printf("%d\n",X);}}