Update extract_and_construct.py