Keep searching until found wanted maxNum