Added the code to replicate the AWG scaling issues.