Probabilistic fast two-point correlation code