Use Knapsack to evenly distribute specs

Closed Kamil Trzcińśki requested to merge knapsack-ee into master