rename generate
associate by cache line; need to add variable weights to edges