Searching for the optimum structures of alloy nanoclusters