maximin now working up to depth 3, but values will not iterate up all the way