T = int(input()) N,X = [],[] for i in range(T): a,b = map(int, input().split(' ')) N.append(a) X.append(b) for i in range(T): 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]))