On producing high-spatial-resolution composition profiles via scanning transmission electron microscopy