Converting WBS to network