Chemisorption effects on the spatial atomic distribution of bimetallic nanostructures