Improve grn_gton() and grn_ntog() for faster geo-location search.