first 'complete' outer unnest version