Optimize arity