SoftwareEngineering: New algorithm distributes risk fairly