added symmetry constrains to multi-label optimization