Adjustment to scaling in aiaprep