find unique bars corrected, so 3D mesh generation works