I think, we will not be able to stop rape by executing all the rapists in the world. Rape will be continued until we abolish patriarchy, and make a macho-culture and misogyny free world.
In the meantime, we can try our best to educate men to understand that rape is a crime, and they must not rape. Almost all men already know that rape is a crime. It is not very difficult for them to stop rape. They can do it only if they want.