Updated MaximumFlowDinic.prototype to this