So apparently enough of you would have doubled on the first round. I was pretty sure partner would expect a better hand, so I refrained.
Anyway, now the opponents gave you a chance to bid before bidding one more. Maybe they thought they'd buy it in 4. Maybe they're just bad. So what now?
What would you have done if partner had passed 5d?

Help

1♣-2♦-p-4♦
X-P-4♥-5♦
X-P-?