Spatially nonhomogeneously spin polarized nuclei are proposed as a new mechanism to monitor electron states in a nanostructure, or as a means to createn and, if necessary, reshape such nanostructures in the course of the experiment. We found that a polarization of nulear spins may lift the spin polarization of the electron states in a nanostructure and, if sufficiently strong, leads to a polarization of the electron spins. Polarized nuclear spins may form an energy landscape capable of binding electrons with energy up to several meV and the localization radius > 100Å.