in test/maxflow, Long -> Double(unfinished)