Wafer profiling for etching system