The reserved needs to be removed from the total resources before multiplying by the ratio.
The reserved needs to be removed from the total resources before multiplying by the ratio.