Index: src/benchmark/hcube.cc
===================================================================
--- src/benchmark/hcube.cc	(revision 840)
+++ src/benchmark/hcube.cc	(revision 905)
@@ -67,8 +67,11 @@
     
     //  for(EdgeIt e(G);G.valid(e);G.next(e)) map[e]=P();
-    for(int i=0;i<dim*(1<<dim);i++)
+    Edge te;
+    for(int i=0;i<dim*(1<<dim);i++) {
+      te.setToId(((long long int)(i)*93505)%(dim*(1<<dim)));
       //    map[Edge(((long long int)(i)*2987)%(dim*(1<<dim)))]=P();
-      map[Edge(((long long int)(i)*93505)%(dim*(1<<dim)))]=P();
-  
+      map[te]=P();
+    }
+    
 //     for(int i=0;i<(1<<dim);i++) {
 //       int mul= (1<<(numOfZeros(i,dim)/4));
