Adding basic locality filter