Optimizing gradations for surface treatments : final report