[db] handle missing optical size info
[db] pre-calculate design size values