Add unit cost helper function
Add helper function to compute a topology with unit cost