Refactor XMP data into a separate module
XMPSim: compute XM cost of the attack