updates to improve utility calculation and try to improve minmax
calcultion.  still sever bug