Finally got working lookup algorithm. Hooray! TODO: tune dead zone radius a bit and the influence of distance to lookup region center