ilogit max/min as well