Fixed pareto dominance
should be done with object
More encoding work
rebasing