Calculating weight according to resources deficit is implemented.