Some overflow fixes in the binary functions
updating
resolved binary.c conflicts