build_db.py: Add thermal expansion