modifying min/maxlog constants to fit gruntthepeon bounds