scale spectrum by n