T = int(input()) L = [] for i in range(T): L.append(list(map(int, input().split(' ')))) for N,X in L: cnt = 1 lst = [] while True: if X >= cnt: if len(lst) == N-1: lst.append(X) print(' '.join([str(i) for i in lst])) break lst.append(cnt) X -= cnt cnt += 1 else: print('-1') break