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