Matrix budget optimization.