realized lambda_max/min were incorrect