caching entire database hack

util we can figure out how to cache the entire database without loading every chunk here is a small hack to load the chunks lazily