https://123dok.org/document/z1dr3j5e-the-cake-eating-problem-non-linear-sharing-rules.html