T = int(input()) for i in range(T): N, X = map(int, input().split(' ')) lst = [] for j in range(1, N): if X < j: lst = [-1] break lst.append(j) X -= j if X <= j: lst = [-1] else: lst.append(X) print(' '.join([str(j) for j in lst]))