Finding critical nodes in infrastructure networks