fixed geoip require statement
fixed binary search, by using Deferred detection of equality approach and combining this with more range/equation checks