moved away global variables from quadkey utils -- now embodied in the constructor