#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int t; cin>>t; while(t--){ ll n,x; cin>>n>>x; if(n*(n+1)>2*x) cout<<-1<<'\n'; else{ for(int i=1;i1) cout<<" "; cout<