add constructor for multi-objective functions