Similar Items: A high-density 3D localization algorithm for stochastic optical reconstruction microscopy