Iterative optimization of plasmon resonant nanostructures