abstract out chunkspan, but it still hangs on generation