support for n-ary repair of single model\n (closes #145 #147)