New algorithm
Apply bonuses in order, always trying to maximize the gain at each step.
P1X3 and RR still not working.