Uses pre-calculated crop weights. A tiny bit more accurate if you plan to use less than 4000 fertilizers.
Runs a live-calculated optimization. Works for even higher values than 4000 fertilizers. Credit to xavi