T = int(input()) for _ in range(T): N,X = map(int,input().split()) if N*(N+1)//2 > X: print(-1) else: plus = (X - sum(ans)) // N ans = [i+plus for i in range(N,0,-1)] for i in range((X - sum(ans)) % N): ans[i] += 1 print(ans)