Try to get better performance with large networks using maps for links and nodes