brute force scalability: calculate search space first
add function title
nearbySelection diagram