build_db.py: Add crystal structure