Curious: I was always told that in this situation several cucurbits of any relation can be grown side by side with no effect on the quality of the fruit. It is only a concern if you are saving the seed. Only the seed and the next generation would be affected from the cross pollination.