re-wrote minimum cut - now runs in less than a third of the time - further improvements to come