ntuple integration