wip fair-share algorithm