finding the maximum only works when the full spectrum is being viewed