Variable abstraction in EHS
Added generate edge weights for EHS