Fixing incorrect size calculation for databases
Fixing incorrect size calculation for databases