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