Nanostructure control of materials