simplify  half search arithmetic