starting code for fast browse repair for large databases