adding parameter to find neighborhoods filter
fixing merge conflict
speeding up Find Neighborhoods Filter