T=int(input()) for i in range(T): N,X=map(int,input().split()) ans=[] add=0 for j in range(N-1): X-=j+1 ans.append(j+1) if ans[-1]>=X: print(-1) else: ans.append(X) print(*(ans))