try to improve database space allocation