It's using segmentation instead of KNN. =) So each segment has a list of displacement vectors. Which saves quite a bit of code size, as well - enough for me to also fit an optimal radar (spin towards bot scanned least recently).