fixing my own stupidity
resample with profile pairing now handles ragged arrays