N=int(input()) for _ in range(N): x,y=map(int, input().split()) A=[i for i in range(x,0,-1)] s=(1+x)*x//2 if s>y: print(-1) else: k=y-s for j in range(x): A[j]+=k//x if j+1<=k%x: A[j]+=1 print(*A)