def main(): T = int(input()) N_sum = 0 assert 1 <= T <= 10**5 for _ in [0]*T: N,X = map(int,input().split()) assert 1 <= N <= 2*10**5 assert 1 <= X <= 10**18 N_sum += N amari = X - N*(N+1)//2 if amari < 0: print(-1) continue ans = list(range(1,N+1)) ans[-1] += amari print(*ans) assert N_sum <= 2*10**5 if __name__ == "__main__": main()