Updated: allow providing DB size argument