new search_max_int() ready for real world testing