Contains code that calculates best possible gross commission rate