A new algorithm for finding all minimal cuts in modified networks