similarity structure search