Thanks Wank for showing the whole board. Yes, I bade 5♦, doubled, but got 4+ IMPs. I could alternatively bid 5♣ for the same reason. There was 16 pairs to have played the board, and 5 pairs had chosen the same decision as mine. My decision was as follows. Since N already showed 7+♥, and S, presumably, also 7+♠, I had 3♠, then my partner should be very short in ♠, and at the same time, he should be very long in both ♦ and ♣.