a lean version of mknetworkkit