correlate data 3 times faster. get median ~3d distance 2 times faster