Dependence of alloy surface chemistry on sample morphology