leftmost int function 1/2