switch to new db iterator with built-in range