adding db reorganize() to keep the size down