helper data structure for image segmentation algorithm. Distributes resources among consumers, each consumer can take only one resource. A consumers gets resources if its goodness measure is higher than of its competitors. Supports fast approximate removal and addition of new consumers