_splitByDist function optimized from O(n^2) to O(n^2/2), time from ~1455 to ~1004
_splitByDist function optimized from O(n^2) to O(n^2/2), time from ~1455 to ~1004

AndriiHeonia/pixfinder,AndriiHeonia/pixfinder