get correct storage size